package admin

import "github.com/go-fuego/fuego/examples/full-app-gourmet/store"

templ IngredientNew() {
	@htmlPage("Ingredient - Creation", true) {
		<h1>Create Ingredient</h1>
		@IngredientForm(IngredientFormProps{
			FormAction: "/admin/ingredients/new",
			IsCreating: true,
			Ingredient: store.Ingredient{
				AvailableAllYear: true,
			},
		})
	}
}
